import Mock from 'mockjs'
import data from './data.json'
// 使用mock返回接口
Mock.mock('/goods', {code:0,data:data.goods}) //goods接口：商家产品
Mock.mock('/ratings', {code:0,data:data.ratings}) //ratings接口：用户评价
Mock.mock('/info', {code:0,data:data.info}) //info接口：商家信息